<?php

class m120409_044712_update_registration extends CDbMigration {

	public function safeUp() {
		$this->addColumn('registration', 'envoy', 'varchar(16)');
		$this->addColumn('registration', 'envoyProvince', 'string');
		$this->addColumn('registration', 'envoyCity', 'string');
	}

	public function safeDown() {
		$this->dropColumn('registration', 'envoy');
		$this->dropColumn('registration', 'envoyProvince');
		$this->dropColumn('registration', 'envoyCity');
	}

}